package cn.imvc.app.repositories;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.Commission;
import cn.imvc.app.entities.Member;
import cn.imvc.data.jpa.repository.IJpqlExecutor;
import cn.imvc.data.jpa.repository.ISqlExecutor;

public interface CommissionRepository extends JpaRepository<Commission, Integer>, IJpqlExecutor<Commission>, ISqlExecutor<Object> {
	public Page<Commission> findByMemberAndType(Member member, byte type, Pageable page);
}
